package main

import (
	"fmt"
)

func convert(list []string) string { return fmt.Sprintf("%q", list) }

func Add(list []string, m map[string]int) { m[convert(list)]++ }

func Count(list []string, m map[string]int) int { return m[convert(list)] }

func main() {
	slicekeymap := make(map[string]int)
	testKey1 := []string{"gjk", "hello"}
	testKey2 := []string{"Alvin", "shasha"}
	Add(testKey1, slicekeymap)
	Add(testKey2, slicekeymap)
	fmt.Println(Count(testKey1, slicekeymap))
	fmt.Println(Count(testKey2, slicekeymap))
	for k, _ := range slicekeymap {
		fmt.Println(k)
	}
}
